<p>news works!</p>

    <a [routerLink]="[ '/newscontent' ]">跳转到详情页</a>

    <!-- <ul>
      <li *ngFor="let item of list;let key=index;">
        <a href="#">{{key}}-------{{item}}</a> 
       <a [routerLink]="[ '/newscontent' ]" [queryParams]="{aid:key}">{{key}}-------{{item}}</a>
      </li>
    </ul> -->

    <h2>动态路由</h2>
    <ul >
      <li *ngFor="let item of list;let key=index;">
          <a [routerLink]="[ '/newscontent/', key ]">{{key}}-------{{item}}</a>
      </li>
    </ul>
